package com.ruoyi.project.qyxy.enterprise.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 企业信息对象 t_enterprise_info
 * 
 * @author lcl
 * @date 2021-03-05
 */
public class EnterpriseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业组织机构代码 */
    private String orgCode;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String orgName;

    /** 注册地省 */
    @Excel(name = "注册地省")
    private String province;

    /** 注册地市 */
    @Excel(name = "注册地市")
    private String city;

    /** 注册地县区 */
    @Excel(name = "注册地县区")
    private String county;

    /** 营业执照注册号 */
    @Excel(name = "营业执照注册号")
    private String bizlicenNum;

    /** 注册资本 */
    @Excel(name = "注册资本")
    private String regCapital;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtReg;

    /** 成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtFound;

    /** 注册详细地址 */
    @Excel(name = "注册详细地址")
    private String regAddress;

    /** 企业经济类型 */
    @Excel(name = "企业经济类型")
    private String entType;

    /** 法定代表人姓名 */
    @Excel(name = "法定代表人姓名")
    private String legalName;

    /** 修改次数 */
    @Excel(name = "修改次数")
    private Long updateCount;

    /** 是否是老数据 */
    @Excel(name = "是否是老数据")
    private String old;

    /** 原组织机构代码证号 */
    @Excel(name = "原组织机构代码证号")
    private String oldOrgCode;

    /**
     * 资质类别
     */
    private String quaType;

    public void setOrgCode(String orgCode) 
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode() 
    {
        return orgCode;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setBizlicenNum(String bizlicenNum) 
    {
        this.bizlicenNum = bizlicenNum;
    }

    public String getBizlicenNum() 
    {
        return bizlicenNum;
    }
    public void setRegCapital(String regCapital) 
    {
        this.regCapital = regCapital;
    }

    public String getRegCapital() 
    {
        return regCapital;
    }
    public void setDtReg(Date dtReg) 
    {
        this.dtReg = dtReg;
    }

    public Date getDtReg() 
    {
        return dtReg;
    }
    public void setDtFound(Date dtFound) 
    {
        this.dtFound = dtFound;
    }

    public Date getDtFound() 
    {
        return dtFound;
    }
    public void setRegAddress(String regAddress) 
    {
        this.regAddress = regAddress;
    }

    public String getRegAddress() 
    {
        return regAddress;
    }
    public void setEntType(String entType) 
    {
        this.entType = entType;
    }

    public String getEntType() 
    {
        return entType;
    }
    public void setLegalName(String legalName) 
    {
        this.legalName = legalName;
    }

    public String getLegalName() 
    {
        return legalName;
    }
    public void setUpdateCount(Long updateCount) 
    {
        this.updateCount = updateCount;
    }

    public Long getUpdateCount() 
    {
        return updateCount;
    }
    public void setOld(String old) 
    {
        this.old = old;
    }

    public String getOld() 
    {
        return old;
    }
    public void setOldOrgCode(String oldOrgCode) 
    {
        this.oldOrgCode = oldOrgCode;
    }

    public String getOldOrgCode() 
    {
        return oldOrgCode;
    }

    public String getQuaType() {
        return quaType;
    }

    public void setQuaType(String quaType) {
        this.quaType = quaType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgCode", getOrgCode())
            .append("orgName", getOrgName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("bizlicenNum", getBizlicenNum())
            .append("regCapital", getRegCapital())
            .append("dtReg", getDtReg())
            .append("dtFound", getDtFound())
            .append("regAddress", getRegAddress())
            .append("entType", getEntType())
            .append("legalName", getLegalName())
            .append("updateCount", getUpdateCount())
            .append("old", getOld())
            .append("oldOrgCode", getOldOrgCode())
            .toString();
    }
}
